﻿using Dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PrintDemo.Entity
{
    [Serializable]
    [Table("StackIn")]
    public class StackInEntity
    {
        /// <summary>
        /// 入库单号
        /// </summary>
        [Key]
        public string Id { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int ProductCount { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public string StackLocation { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public string UniPrice { get; set; }

        /// <summary>
        /// 入库类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 是否在库中 true:是 false：否
        /// </summary>
        public bool IsStack { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
